-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[support-o_nif_cc] Support o_nif_cc gpb_opt #163
base: develop
Are you sure you want to change the base?
Conversation
@lrascao Could you take a look a this change? Thanks!! |
@@ -30,10 +31,17 @@ compile(AppInfo, State) -> | |||
TargetHrlDir = filename:join([AppOutDir, | |||
proplists:get_value(o_hrl, GpbOpts0, | |||
?DEFAULT_OUT_HRL_DIR)]), | |||
TargetNifDir = filename:join([AppOutDir, | |||
proplists:get_value(o_nif_cc, GpbOpts0, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does this mean that people not interested in NIF generation will get it anyway?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not really, by default the NIF generation would be off
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What they would get is the priv
folder. Maybe we shouldn't create that folder by default. What do you think @lrascao ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, if it can be avoided that would be best, always good to avoid unexpected things
This PR bumbs the gpb version to the latest and adds support to the o_nif_cc option.